package com.sinog.front.feign.biz.xml;

import com.sinog.core.model.UserDTO;
import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
import java.util.Map;

/**
 * @desc 湖南个性化接口对接-Feign
 * @author lk
 * @date 2022/6/27 下午3:01
 */
@FeignClient("sinog2c-biz")
public interface InterfaceXjService {

    /**
     * 信息补录接口
     * @param data 职业技能-减刑假释-出监评估
     * @param user 登录用户信息
     * @return Result
     */
    @RequestMapping("/transmission/azbj/informationBl/auto/save")
    Result saveInformationBl(@RequestParam Map<String,List<Map<String,String>>> data,@RequestBody UserDTO user);

    /**
     * 描述
     * @param data data
     * @param user user
     * @return Result
     */
    @RequestMapping("/transmission/azbj/yazgl/xj/insert")
    Result insertXjxxInface(@RequestParam Map<String,List<Map<String,String>>> data,@RequestBody UserDTO user);
}